#!-*- encoding:utf8 -*-
from django.conf.urls.defaults import *
from newosmp.report import models, views

urlpatterns = patterns('',
            #--- 首页
        (r'^$', views.index),
        (r'add/$', views.add),
        (r'edit/$',views.edit),
        (r'delete/$', views.delete),
        (r'search/$', views.search),
        (r'detail/$', views.detail),
        (r'reportinfo/$', views.reportinfo),
        (r'reportinfo/(?P<id>\d+)/$', views.reportinfo),
        (r'pausereport/(?P<id>\d+)/$', views.pausereport),
        (r'mailreport/$', views.mailreport),
        (r'timecontrol/$', views.timecontrol),
        (r'ajax_get_tpl/$', views.ajax_get_tpl),
        (r'ajax_get_monitor/$', views.ajax_get_monitor),
)
